// src/types/index.ts

export interface GoodsItem {
  id: number;
  goods_id: number;
  goods_num: number;
  isChecked: boolean;
  goods: {
    goods_price_min: number;
  };
}

export interface CartState {
  cartList: GoodsItem[];
}

export interface UserInfo {
  token?: string;
}

export interface UserState {
  userInfo: UserInfo;
}